package com.jlz.beans.user;

import java.util.Date;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import com.julewa.db.DB;
import com.julewa.db.Entity;

@Component @Scope(Entity.SCOPE)
public class LogBean  extends Entity<Long>{
	
	@DB.COLUMN long ownerId;
	@DB.COLUMN long lenderId;
	@DB.COLUMN long itemId;
	@DB.COLUMN Date date;
	@DB.COLUMN String result;
	@DB.COLUMN String detail;
	public long getOwnerId() {
		return ownerId;
	}
	public void setOwnerId(long ownerId) {
		this.ownerId = ownerId;
	}
	public long getLenderId() {
		return lenderId;
	}
	public void setLenderId(long lenderId) {
		this.lenderId = lenderId;
	}
	public long getItemId() {
		return itemId;
	}
	public void setItemId(long itemId) {
		this.itemId = itemId;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getResult() {
		return result;
	}
	public void setResult(String result) {
		this.result = result;
	}
	public String getDetail() {
		return detail;
	}
	public void setDetail(String detail) {
		this.detail = detail;
	}
	
}
